<extend name="Public:common" />
<!--/sidebar-->
<block name="content">
 <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/Admin">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="__URL__/index">友情链接</a><span class="crumb-step">&gt;</span><span>编辑</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
            <form action="__URL__/edit" method="post" >
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <tr>
                                <th><i class="require-red">*</i>标题：</th>
                                <td><input type="text" name="title" value="<{$vo.title}>" placeholder="">
                                </td>
                            </tr>
                            <tr>
                                <th>状态：</th>
                        <td>
                         <select name="status" id="catid" class="required">
                                    <option value="0" <?php if ($vo['status']==0){echo "selected";}?>>关闭</option>
                                    <option value="1"  <?php if ($vo['status']==1) echo "selected";?>>开放</option>
                        </select></td>
                            </tr>
                            <input type="hidden" name="id" value="<{$vo.id}>">
                            <tr>
                                <th>URl：</th>     
                                <td> 
                                <input type="text" name="url" value="<{$vo.url}>" placeholder="">
                                </td>
                            </tr>                       
                             <tr>
                                <th>排序：</th>     
                                <td> 
                                <input type="text" name="sort" value="<{$vo.sort}>" placeholder="">
                                </td>
                            </tr>
                          <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody>
                              </table>
                          </form>
            </div>
        </div>

    </div>

    </block>